import { COMMON_MUTATION } from '@/utils/config'

//公共设值
const commonMutation = {
  [COMMON_MUTATION]: (state, data) => {
    for (let key in data) {
      state[key] = data[key]
    }
  }
}
export default commonMutation;